home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Windows marzen
/
Macro ToolsWorks 6.31
/
tworks.exe
/
Samples
/
Show menu of opened window and activate selected.mcr
< prev
next >
Wrap
Text File
|
2003-06-12
|
494b
|
26 lines
<#>
<#> Sample: Shows menu of all opened window and activates the selected one
<#>
<cmds>
<win_enumerate>(vWindow,vNumOfWindows,0)
<if_num>("vNumOfWindows>0")
<begloop>(vNumOfWindows)
<if_str>("vWindow[_vLoopCounter0]!=_vStrEmpty")
<menu_additem>("vWindow[_vLoopCounter0]")
<endif>
<endloop>
<menu_show>(-1,-1,vWindowSelected,1,1)
<if_str>("vWindowSelected!=NO")
<actwin>("vWindowSelected",0,0,"no")
<endif>
<endif>